package com.dq.repository.user.centre;

import com.dq.domain.sys.user.user.BossUser;
import com.dq.domain.sys.user.user.base.SysUser;
import com.dq.domain.sys.user.user.centre.UserPlan;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cf
 */
@Repository
public interface UserPlanRepository extends JpaRepository<UserPlan, Long> {

    UserPlan findByDeletedFalseAndYearAndMonthAndBossUser(Long year, Long month, BossUser bossUser);

}
